-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(connector): [Paypal] Add support for passing shipping_cost in Payment request #6423
Conversation
Review changes with SemanticDiff. Analyzed 7 of 7 files. Overall, the semantic diff is 33% smaller than the GitHub diff.
|
crates/router/src/types.rs
Outdated
@@ -863,6 +863,7 @@ impl ForeignFrom<&SetupMandateRouterData> for PaymentsAuthorizeData { | |||
charges: None, // TODO: allow charges on mandates? | |||
merchant_order_reference_id: None, | |||
integrity_object: None, | |||
shipping_cost: None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should send the shipping_cost
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine for dashboard changes.
Type of Change
Description
shipping_cost
while creating payment_intent, I have added this in the flowsPaymentsAuthorizeRouterData
,PaymentsPostSessionTokensRouterData
andSdkSessionUpdateRouterData
Additional Changes
Motivation and Context
How did you test it?
Response
Response
Response
Response
Response
Checklist
cargo +nightly fmt --all
cargo clippy